feat(console): send back for revision in the approvals inbox (ADR-0044)#1665
Merged
Conversation
Console counterpart of framework #1769 (issue #1744): - approver action "Send back" (violet) with explanation dialog → POST /approvals/requests/:id/revise; auto-reject toast when the server reports the maxRevisions budget exceeded - submitter revision panel on a returned request: unlocked-record hint, edit-record link, optional comment, Resubmit (POST /resubmit, opens the next round) and Recall (abandon the revision window) - `returned` status: violet badge, status filter option, drawer strip - Round-N chips on the list row and drawer (row.round from the server) - timeline entries for revise (violet) / resubmit (blue) audit actions - approvalsApi.sendBack/resubmit + row typings (returned, round) - approvalsInbox i18n: 18 new keys across all ten locales (parity green) Browser-verified against the framework showcase stack: send back → record unlocks → resubmit → Round 2 chip → approve; third send-back auto-rejects. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Console counterpart of framework#1769 (closes the UI half of framework#1744).
What
returned, the record unlocks, resubmission opens a fresh round for all approvers. Auto-reject toast when the server reports themaxRevisionsbudget exceeded.returnedstatus: violet badge + status-filter option; Round N chips on list rows and the drawer strip (row.round); timeline rendersrevise(violet) /resubmit(blue) audit entries.approvalsApi.sendBack/resubmit; row typings gainreturned+round.approvalsInboxi18n: 18 new keys across all ten locales (locale-parity tests green).Verification
revise → reject ("Auto-rejected: revision limit (2) exceeded").🤖 Generated with Claude Code